package day20171106;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by 14394 on 2017/11/6.
 */
public class Test {
    public static void main(String[] args) {
        Date dt=new Date();
        SimpleDateFormat matter1=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        System.out.println(matter1.format(dt));
    }

}
